﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="NJL.WebUsers.Shop.Default" %>

<%@ Import Namespace="NJL.Web" %>
<%@ Import Namespace="Royalsoft.Common" %>
<%@ Register Src="../Controls/WUCHeaderShop.ascx" TagName="WUCHeaderShop" TagPrefix="uc1" %>
<%@ Register Src="../Controls/WUCFooterShop.ascx" TagName="WUCFooterShop" TagPrefix="uc2" %>
<%@ Register Src="../Controls/WUCHeaderShop2.ascx" TagName="WUCHeaderShop2" TagPrefix="uc4" %>
<%@ Register Src="../Controls/WUEnterPriseSpaceLeftBaseInfo.ascx" TagName="WUEnterPriseSpaceLeftBaseInfo"
    TagPrefix="uc5" %>
<%@ Register Src="../Controls/WUEnterPriseSpaceLeftBook.ascx" TagName="WUEnterPriseSpaceLeftBook"
    TagPrefix="uc6" %>
<%@ Register Src="../Controls/WUEnterPriseSpaceLeftMaps.ascx" TagName="WUEnterPriseSpaceLeftMaps"
    TagPrefix="uc7" %>
<%@ Register Src="../Controls/WUEnterPriseSpaceLeftIntro.ascx" TagName="WUEnterPriseSpaceLeftIntro"
    TagPrefix="uc8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" type="text/css" href="/Styles/shop/shop002/shop.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/styles/miaov_style.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/styles/PageZone.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="/styles/vow.css" media="screen" />
    <script type="text/javascript" language="javascript" src="/Scripts/jquery-1.4.1.min.js"></script>
    <script src="/Scripts/popup_layer.js" type="text/javascript"></script>
    <script src="/scripts/genmove.js" type="text/javascript"></script>
    <script src="/scripts/myajax.js" type="text/javascript"></script>
    <script type="text/javascript">
        function AddContent(companyid) {
            var content = $("#TextArea1").val();
            content = $.trim(content);
            if (content == "") {
                alert("内容不能为空哦^_^")
                return false;
            }
            if (content.length > 50) {
                alert("评论内容不能超过50个字符哦^_^");
                return false;
            }
            $.ajax({
                type: 'get',
                url: '/Handle/Handler.ashx',
                data: 'companyEvaluation=' + companyid + '&content=' + escape(content) + '&typecode=3&Random=' + Math.random(),
                dataType: 'text',
                success: function (msg) {
                    if (msg == "NoSession") {
                        alert("请登录后再描述");
                        window.location.href = '/Login.aspx?url=' + document.location.href;

                    }
                    else {
                        document.getElementById("TextArea1").value = "";
                        alert("评价成功");
                        //location.reload();
                        //重新加载统计数据
                        loadEvaluationCount();
                        //加载数据
                        RefreshContent();
                    }

                },
                error: function () {
                    alert("评论失败");
                }
            })
        }

        function GetValidate() {
            document.getElementById("Validate").src = "/ValidateCode.aspx?rand=" + Math.random();
        }
        function loadEvaluationCount() {
            $.ajax({
                type: 'get',
                url: '/Handle/Handler.ashx',
                data: 'companyid=' + $('#hidCompanyid').val() + '&typecode=1&Random=' + Math.random(),
                dataType: 'text',
                success: function (data, textStatus) {
                    $('#spanEvaluationCount1').html(data);
                },
                complete: function (XMLHttpRequest, textStatus) {
                    //HideLoading();
                },
                error: function () {
                    //alert("评论失败");
                }
            });
            $.ajax({
                type: 'get',
                url: '/Handle/Handler.ashx',
                data: 'companyid=' + $('#hidCompanyid').val() + '&typecode=2&Random=' + Math.random(),
                dataType: 'text',
                success: function (data, textStatus) {
                    $('#spanEvaluationCount2').html(data);
                },
                complete: function (XMLHttpRequest, textStatus) {
                    //HideLoading();
                },
                error: function () {
                    //alert("评论失败");
                }
            });
        }
  
    </script>
    <script type="text/javascript">
        var openDiv1;
        var openDiv2;
        $(document).ready(function () {
            openDiv1 = new PopupLayer({ trigger: "#zhichi", popupBlk: "#sendMes", closeBtn: "#sendMesclose", useOverlay: true, useFx: true,
                offsets: {
                    x: 0,
                    y: -41
                }
            });
            openDiv1.doEffects = function (way) {
                if (way == "open") {
                    this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                        this.popupLayer.animate({
                            left: ($(document).width() - this.popupLayer.width()) / 2,
                            top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                            opacity: 0.8
                        }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                    } .binding(this));
                    $('#hidEvaluationType').val(1);
                }
                else {
                    this.popupLayer.animate({
                        left: this.trigger.offset().left,
                        top: this.trigger.offset().top,
                        opacity: 0.1
                    }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
                }
            }
            openDiv2 = new PopupLayer({ trigger: "#henxiangqu", popupBlk: "#sendMes1", closeBtn: "#sendMesclose1", useOverlay: true, useFx: true,
                offsets: {
                    x: 0,
                    y: -41
                }
            });
            openDiv2.doEffects = function (way) {
                if (way == "open") {
                    this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                        this.popupLayer.animate({
                            left: ($(document).width() - this.popupLayer.width()) / 2,
                            top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                            opacity: 0.8
                        }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                    } .binding(this));
                    $('#hidEvaluationType').val(2);
                }
                else {
                    this.popupLayer.animate({
                        left: this.trigger.offset().left,
                        top: this.trigger.offset().top,
                        opacity: 0.1
                    }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
                }
            }


        });
        function getCompanyId(content) {
            var companyid = $('#hidCompanyid').val();
            $.ajax({
                type: 'get',
                url: '/Handle/Handler.ashx',
                data: 'companyEvaluation=' + companyid + '&content=' + escape(content) + '&typecode=' + $('#hidEvaluationType').val() + '&Random=' + Math.random(),
                dataType: 'text',
                success: function (msg) {
                    //location.reload();
                    //重新加载统计数据
                    loadEvaluationCount();
                    //加载数据
                    RefreshContent();
                    if ($('#hidEvaluationType').val() == "1") {
                        openDiv1.close();
                    }
                    else if ($('#hidEvaluationType').val() == "2") {
                        openDiv2.close();
                    }

                },
                error: function () {
                    alert("评论失败");
                }
            })
        }
    </script>
</head>
<body>
    <%
        if (UserId != "")
        {
            
    %>
    <script type="text/javascript">
        var openDivshare;
        $(document).ready(function () {
            openDivshare = new PopupLayer({ trigger: "#clickshare", popupBlk: "#sharediv", closeBtn: "#closeShare", useOverlay: true, useFx: true,
                offsets: {
                    x: 0,
                    y: -41
                }
            });
            openDivshare.doEffects = function (way) {
                if (way == "open") {
                    this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                        this.popupLayer.animate({
                            left: ($(document).width() - this.popupLayer.width()) / 2,
                            top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                            opacity: 0.8
                        }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                    } .binding(this));
                    document.getElementById("iframeshare").src = '/Shop/ShopShare.aspx?id=<%=Request.QueryString["id"] %>&url=<%=Request.RawUrl %>';
                }
                else {
                    this.popupLayer.animate({
                        left: this.trigger.offset().left,
                        top: this.trigger.offset().top,
                        opacity: 0.1
                    }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
                }
            }
        }
      );
        function closediv() {
            openDivshare.close();
        }
    </script>
    <%
        }
    %>
    <form id="form1" runat="server">
    <%
        if (UserId == "" || UserName == "")
        {         
    %>
    <script language="javascript" type="text/javascript">
        $(document).ready(function () {
            //示例9，综合效果
            var t9 = new PopupLayer({ trigger: "#TextArea1", popupBlk: "#blk9", closeBtn: "#close9", useOverlay: true, useFx: true,
                offsets: {
                    x: 0,
                    y: -41
                }
            });
            t9.doEffects = function (way) {
                if (way == "open") {
                    this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                        this.popupLayer.animate({
                            left: ($(document).width() - this.popupLayer.width()) / 2,
                            top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                            opacity: 0.8
                        }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                    } .binding(this));
                    document.getElementById('Login').src = '<%=WEBSITE_USRE_DOMAIN %>/SecondLogin.aspx?websitecode=<%=WEBSITE_CODE %>&domain=<%=WEBSITE_DOMAIN %>&url=<%=Request.RawUrl %>';
                }
                else {
                    this.popupLayer.animate({
                        left: this.trigger.offset().left,
                        top: this.trigger.offset().top,
                        opacity: 0.1
                    }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
                }
            }

            var fenxiang = new PopupLayer({ trigger: "#clickshare", popupBlk: "#blk9fenxiang", closeBtn: "#closefenxing", useOverlay: true, useFx: true,
                offsets: {
                    x: 0,
                    y: -41
                }
            });
            fenxiang.doEffects = function (way) {
                if (way == "open") {
                    this.popupLayer.css({ opacity: 0.3 }).show(400, function () {
                        this.popupLayer.animate({
                            left: ($(document).width() - this.popupLayer.width()) / 2,
                            top: (document.documentElement.clientHeight - this.popupLayer.height()) / 2 + $(document).scrollTop(),
                            opacity: 0.8
                        }, 1000, function () { this.popupLayer.css("opacity", 1) } .binding(this));
                    } .binding(this));
                    document.getElementById('Iframefenxiang').src = '<%=WEBSITE_USRE_DOMAIN %>/SecondLogin.aspx?websitecode=<%=WEBSITE_CODE %>&domain=<%=WEBSITE_DOMAIN %>&url=<%=Request.RawUrl %>';
                }
                else {
                    this.popupLayer.animate({
                        left: this.trigger.offset().left,
                        top: this.trigger.offset().top,
                        opacity: 0.1
                    }, { duration: 500, complete: function () { this.popupLayer.css("opacity", 1); this.popupLayer.hide() } .binding(this) });
                }
            }


        });
    </script>
    <div id="blk9" class="blk">
        <div class="popup_title">
            <span class="float_r"><a href="javascript:void(0)" id="close9">关闭</a></span>
            <ul>
                <li class="now"><a target="main">登录</a> </li>
            </ul>
        </div>
        <div>
            <iframe id="Login" name="main" width="500" height="420" style="overflow: hidden;
                border: none;"></iframe>
        </div>
    </div>
    <!--分享登录层-->
    <div id="blk9fenxiang" class="blk">
        <div class="popup_title">
            <span class="float_r"><a href="javascript:void(0)" id="closefenxing">关闭</a></span>
            <ul>
                <li class="now"><a target="main">登录</a> </li>
            </ul>
        </div>
        <div>
            <iframe id="Iframefenxiang" name="main" width="500" height="420" style="overflow: hidden;
                border: none;"></iframe>
        </div>
    </div>
    <%
        }
    %>
    <input type="hidden" id="hidCompanyid" value="<%=modelCompany.ID %>" />
    <uc1:WUCHeaderShop ID="WUCHeaderShop1" runat="server" />
    <div class="main cont">
        <!--商铺信息-->
        <uc4:WUCHeaderShop2 ID="WUCHeaderShop21" runat="server" />
        <!--左侧-->
        <div class="w_258 leftside float_l cont">
            <!--基本信息-->
            <uc5:WUEnterPriseSpaceLeftBaseInfo ID="WUEnterPriseSpaceLeftBaseInfo1" runat="server" />
            <!--门票预订-->
            <div class="blank">
            </div>
            <uc6:WUEnterPriseSpaceLeftBook ID="WUEnterPriseSpaceLeftBook1" runat="server" />
            <!--交通指南-->
            <div class="blank">
            </div>
            <uc7:WUEnterPriseSpaceLeftMaps ID="WUEnterPriseSpaceLeftMaps1" runat="server" />
            <!--简介-->
            <div class="cleanFlex blank">
            </div>
            <uc8:WUEnterPriseSpaceLeftIntro ID="WUEnterPriseSpaceLeftIntro1" runat="server" />
        </div>
        <!--右侧-->
        <div class="blank">
        </div>
        <div class="w_665 float_r cont">
            <!--我的服务-->
            <div>
                <!--最新动态-->
                <div id="divLastActive" runat="server">
                    <div style="height: 20px">
                        <ul id="twitter" class="dotlist" style="height: 20px">
                            <asp:Repeater ID="rptActive" runat="server">
                                <ItemTemplate>
                                    <li class="font14"><a href="/shangpu/<%=Request.QueryString["id"] %>-huodong-<%#Eval("ID") %>.html"
                                        target="_blank">
                                        <%#PageValidate.SqlText(Eval("ACTIVE_NAME").ToString(),15)%></a></li>
                                </ItemTemplate>
                            </asp:Repeater>
                        </ul>
                    </div>
                </div>
                <div class="servicelist">
                    <ul class="imglist">
                        <asp:Repeater ID="rptService" runat="server">
                            <ItemTemplate>
                                <li style="height: 80px; width: 66px;"><a href="/shangpu/type-<%#Eval("TYPE_CODE") %>-<%=Request.QueryString["id"] %>.html">
                                    <img src="/Images/shop/shop_002/<%#Eval("TYPE_CODE") %>.gif" class="pngImg" alt="<%#Eval("TYPE_NAME") %>"
                                        width="58px" height="58px" title="<%#Eval("TYPE_NAME") %>" /></a>
                                    <p class="center">
                                        <%#Eval("TYPE_NAME") %></p>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                    <div class="cleanFlex">
                    </div>
                </div>
            </div>
            <!--特色服务-->
            <div class="cleanFlex">
            </div>
            <div>
                <div class="righttitle">
                   <%-- <h2>
                        特色服务</h2>--%>
                </div>
                <ul class="imglist">
                    <asp:Repeater ID="rptServiceList" runat="server" OnItemDataBound="rptServiceList_ItemDataBound">
                        <ItemTemplate>
                            <li class="itemImg"><a href="/shangpu/<%#Eval("NJL_COMPANY_ID") %>-fuwu-<%#Eval("ID")%>.html">
                                <asp:Image ID="imgPic" runat="server" Width="305px" Height="227px" CssClass="picBor"
                                    BorderWidth="1" />
                            </a>
                                <p>
                                    <span class="float_r grayfont">点击：<%#Eval("VISIT_COUNT").ToString()!=""?Eval("VISIT_COUNT"):0%></span><label><%#Eval("TYPE_NAME") %></label><a
                                        href="/shangpu/<%#Eval("NJL_COMPANY_ID") %>-fuwu-<%#Eval("ID")%>.html" class="font14"><%#PageValidate.SqlText(Eval("SERVICE_NAME").ToString(),10)%></a></p>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <div class="cleanFlex">
                </div>
                <div class="page" id="pager" runat="server">
                </div>
            </div>
        </div>
        <div class="cleanFlex" style="height: 1px">
        </div>
    </div>
    <div class="cleanFlex blank">
    </div>
    <div class="cleanFlex blank">
    </div>
    <div class="w960 wall">
        <!--来过-->
        <div class="float_r wall_R">
            <div class="icon_zhichi">
                <div class="option">
                    <a class="zhichi" style="cursor: pointer" title="还不错，支持下~" id="zhichi"></a><span
                        id="spanEvaluationCount1" class="count">0</span>
                </div>
                <div class="option">
                    <a class="xiangqu" style="cursor: pointer" title="很想去" id="henxiangqu"></a><span
                        id="spanEvaluationCount2" class="count">0</span>
                </div>
            </div>
            <div class="wallmessage cleanFlex">
                <%--<p><img src="/Images/shop/shop_002/title_qiang.jpg"  alt=""/></p>--%>
                <div class="wallmessagecont">
                    <p class="count">
                        <%--160--%>
                    </p>
                    <textarea id="TextArea1" cols="20" rows="5" style="width: 210px; height: 50px;"></textarea>
                    <p style="text-align: right;" class="m_top_10">
                        <input type="button" value="" class="write" onclick="AddContent('<%=Request.QueryString["id"] %>')" />
                    </p>
                </div>
            </div>
        </div>
        <div style="width: 280px;">
            <script type="text/javascript">
                var totalPage = 868;
                var currentPage = totalPage;

                function NextPage() {

                    currentPage++;
                    RefreshContent();

                }
                function PrePage() {

                    currentPage--;
                    RefreshContent();

                }

                function CopyToClipBoard() {
                    var p = document.getElementById('url');
                    window.clipboardData.setData('text', '许愿墙 - HeiYou - 真诚沟通 快乐分享，朋友圈交友社区' + '\r\n' + p.value);
                    alert('复制成功，请粘贴到你的QQ/MSN上推荐给你的好友');
                }

                function RefreshContent() {
                    ShowContent("/Handle/HandlerEvaluation.ashx?id=<%=modelCompany.ID %>&page=1", "PageNum=" + currentPage + "&Random=" + Math.random(), wallpaper);
                    RenderLocation(currentPage);
                    CalcButtonStatus();
                }
                function LocationPage(page) {

                    currentPage = page;
                    RefreshContent();
                }
                function CalcButtonStatus() {
                    var btnPre = document.getElementById("btnPre");
                    var btnNext = document.getElementById("btnNext");
                    if (currentPage == 1) {
                        btnPre.disabled = true;
                        if (totalPage > 1) {
                            btnNext.disabled = false;
                        }
                        else {
                            btnNext.disabled = true;
                        }
                    }
                    else {
                        btnPre.disabled = false;
                    }
                    if (currentPage == totalPage) {
                        btnNext.disabled = true;
                        if (totalPage > 1) {
                            btnPre.disabled = false;
                        }
                        else {
                            btnPre.disabled = true;
                        }
                    }
                    else {
                        btnNext.disabled = false;
                    }
                }
                function RenderLocation(pageNum) {
                    var startPos = 0;
                    var endPos = 0;
                    if (pageNum < 5) {
                        startPos = 1;
                    }
                    else {
                        startPos = pageNum - 4;
                    }
                    if (pageNum + 5 > totalPage) {
                        endPos = totalPage;
                    }
                    else {
                        endPos = pageNum + 5;
                    }
                    var result = "";
                    for (var i = startPos; i <= endPos; i++) {
                        if (i == currentPage) {
                            result += "<a href='javascript:void(0)' onclick='LocationPage(" + i + ")'><b>" + i + "m</b></a>&nbsp;";
                        }
                        else {
                            result += "<a href='javascript:void(0)' onclick='LocationPage(" + i + ")'>" + i + "m</a>&nbsp;";
                        }
                    }

                    divHref.innerHTML = result;
                }
            </script>
            <div style="height: 300px; width: 100%; text-align: left; display: block">
                <div class="WallPaper" id="wallpaper">
                </div>
            </div>
            <div style="height: 30px; width: 100%; text-align: left; display: none">
                <table width="100%">
                    <tr>
                        <td width="40">
                            <input type="button" value="上一米" class="submit" onclick="PrePage()" id="btnPre" />
                        </td>
                        <td align="center">
                            <div id="divHref">
                            </div>
                        </td>
                        <td width="40">
                            <input type="button" value="下一米" class="submit" onclick="NextPage()" id="btnNext"
                                disabled />
                        </td>
                    </tr>
                </table>
            </div>
            <script type="text/javascript">
                loadEvaluationCount();
                RefreshContent();
            </script>
        </div>
    </div>
    <div class="cleanFlex m_top_10">
    </div>
    <!--我要分享-->
    <div class="w960 box">
        <div class="titlenews">
            <span><a id="clickshare" style="cursor: pointer">我要分享</a></span>
            <h2>
                游客分享
            </h2>
        </div>
        <div class="cont cleanFlex">
            <div class="blank">
            </div>
            <asp:Repeater ID="rptShare" runat="server">
                <ItemTemplate>
                    <dl class="imglist float_l" style="width: 300px; margin-right: 10px; height: 75px;">
                        <dt><a href="/wanjia/<%#Eval("NJL_PERSON_ID") %>-index.html" title="<%#Eval("CREATE_USER_NAME")%>"
                            target="_blank">
                            <img alt="" width="67px" height="50px" src="<%#Eval("IMAGE_CODE").ToString()!=""?GetImageUrl(Eval("IMAGE_CODE").ToString(),"U2"):"/Images/nopic.jpg" %>"
                                class="picBor" />
                        </a></dt>
                        <dd>
                            <strong><a href="/wanjia/<%#Eval("NJL_PERSON_ID") %>-youji-<%#Eval("ID") %>.html"
                                target="_blank">
                                <%#PageValidate.SqlText(Eval("NEWS_TITLE").ToString(),15)%></a></strong>
                        </dd>
                        <dd>
                            <a href="/wanjia/<%#Eval("NJL_PERSON_ID") %>-youji-<%#Eval("ID") %>.html" target="_blank">
                                <%#PageValidate.SqlText(Eval("NEWS_SUBJECT_TITLE").ToString(),30)%></a>
                        </dd>
                    </dl>
                </ItemTemplate>
            </asp:Repeater>
            <div class="cleanFlex" style="height: 1px; overflow: hidden;">
            </div>
        </div>
    </div>
    <!--分享弹出层-->
    <div id="sharediv" class="blk" style="height: 550px;">
        <div class="popup_title">
            <span class="float_r"><a href="javascript:void(0)" id="closeShare">关闭</a></span>
            <ul>
                <li class="now"><a target="main">我要分享</a> </li>
            </ul>
        </div>
        <div>
            <iframe id="iframeshare" name="main" width="500" height="500" style="overflow: hidden;
                border: none;"></iframe>
        </div>
    </div>
    <!--弹出层-->
    <input type="hidden" id="hidEvaluationType" />
    <div id="sendMes" class="blk" style="height: 200px">
        <div class="popup_title">
            <span class="float_r"><a href="javascript:void(0)" id="sendMesclose">关闭</a></span>
            <ul>
                <li class="now"><a target="main">来过,支持</a> </li>
            </ul>
        </div>
        <div>
            <ul>
                <li id="liTriped"><a onclick="javascript:getCompanyId('服务态度不错');" style="cursor: pointer"
                    class="tag4">服务态度不错</a> <a onclick="javascript:getCompanyId('环境很美');" style="cursor: pointer"
                        class="tag6">环境很美</a> <a onclick="javascript:getCompanyId('饭菜吃起来香喷喷的');" style="cursor: pointer"
                            class="tag2">饭菜吃起来香喷喷的</a> <a onclick="javascript:getCompanyId('很喜欢他们的饭菜');" style="cursor: pointer"
                                class="tag1">很喜欢他们的饭菜</a> <a onclick="javascript:getCompanyId('玩的非常开心');" style="cursor: pointer"
                                    class="tag7">玩的非常开心</a> <a onclick="javascript:getCompanyId('住宿很方便');" style="cursor: pointer"
                                        class="tag9">住宿很方便</a> <a onclick="javascript:getCompanyId('娱乐设施很给力');" style="cursor: pointer"
                                            class="tag5">娱乐设施很给力</a> <a onclick="javascript:getCompanyId('去过了，整体一般吧');" style="cursor: pointer"
                                                class="tag3">去过了，整体一般吧</a> <a onclick="javascript:getCompanyId('去过了，很棒，下次还要去');"
                                                    style="cursor: pointer" class="tag4">去过了，很棒，下次还要去</a>
                </li>
            </ul>
        </div>
    </div>
    <div id="sendMes1" class="blk" style="height: 200px">
        <div class="popup_title">
            <span class="float_r"><a href="javascript:void(0)" id="sendMesclose1">关闭</a></span>
            <ul>
                <li class="now"><a target="main">想去</a> </li>
            </ul>
        </div>
        <div>
            <ul>
                <li id="liTriping"><a onclick="javascript:getCompanyId('看图片还不错，打算去');" style="cursor: pointer"
                    class="tag4">看图片还不错，打算去</a> <a onclick="javascript:getCompanyId('别人评价蛮好的，下次跟朋友去');"
                        style="cursor: pointer" class="tag2">别人评价蛮好的，下次跟朋友去</a> <a onclick="javascript:getCompanyId('知道这个地方，很想去');"
                            style="cursor: pointer" class="tag6">知道这个地方，很想去</a> <a onclick="javascript:getCompanyId('还没去过，想再了解一些');"
                                style="cursor: pointer" class="tag9">还没去过，想再了解一些</a> <a onclick="javascript:getCompanyId('娱乐设施挺多，有时间去');"
                                    style="cursor: pointer" class="tag6">娱乐设施挺多，有时间去</a> <a onclick="javascript:getCompanyId('活动很吸引人，很想去');"
                                        style="cursor: pointer" class="tag5">活动很吸引人，很想去</a> <a onclick="javascript:getCompanyId('看起来饭菜还可以，有时间去尝尝');"
                                            style="cursor: pointer" class="tag3">看起来饭菜还可以，有时间去尝尝</a>
                    <a onclick="javascript:getCompanyId('离我这不算太远，抽空过去');" style="cursor: pointer" class="tag4">
                        离我这不算太远，抽空过去</a> <a onclick="javascript:getCompanyId('想去的可以一起啊');" style="cursor: pointer"
                            class="tag7">想去的可以一起啊</a> </li>
            </ul>
        </div>
    </div>
    <uc2:WUCFooterShop ID="WUCFooterShop1" runat="server" />
    </form>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#twitter li:not(:first)").css("display", "none");
            var B = $("#twitter li:last");
            var C = $("#twitter li:first");
            setInterval(function () {
                if (B.is(":visible")) {
                    C.fadeIn(500).addClass("in"); B.hide()
                } else {
                    $("#twitter li:visible").addClass("in");
                    $("#twitter li.in").next().fadeIn(500);
                    $("li.in").hide().removeClass("in")
                }
            }, 3000) //每3秒钟切换一条，你可以根据需要更改
        })
    </script>
</body>
</html>
